config
{% for interface in items %}
interface {{ interface.name }}
    description {{ interface.description }}
{% if interface.up=='yes'  -%}
no shutdown
{% else-%}
shutdown
{% endif%} 
{% endfor%}
commit